<template>
  <div>
    <a-table :columns="columns" :data-source="data">
    </a-table>
  </div>
</template>

<script>
import { defineComponent } from "vue";
const columns = [
  {
    title: "考试名称",
    dataIndex: "name",
    key: "name",
  },
  {
    title: "证书名称",
    dataIndex: "name",
    key: "name",
  },
  {
    title: "证书时间",
    dataIndex: "name",
    key: "name",
  },
  {
    title: "状态",
    dataIndex: "name",
    key: "name",
  },
  {
    title: "操作",
    dataIndex: "",
    key: "x",
    slots: {
      customRender: "action",
    },
  },
];

export default defineComponent({
  setup() {
    return {
      columns,
    };
  },
});
</script>

<style>   
</style>